<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>关于小胖的网站</title>

  <link rel="stylesheet" href="/statics/css/bootstrap.min.css">
  <link rel="stylesheet" href="../layui/css/layui.css">
  <!-- 网页icon头像 -->
  <link rel="shortcut icon" href="/statics/img/loginOk.png">

</head>

<body>
  <ul class="layui-nav" lay-filter="">
    <li class="layui-nav-item layui-this"><a href="/home">首页</a></li>
    <li class="layui-nav-item"><a href="/home/personalDetails">个人信息</a></li>
    <li class="layui-nav-item"><a href="/home/publishQS">创建问卷调查</a></li>
    <li class="layui-nav-item">
      <a href="javascript:;">问卷管理</a>
      <dl class="layui-nav-child">
        <!-- 二级菜单 -->
        <dd><a href="#" onclick="createQS()">创建问卷调查</a></dd>
        <dd><a href="/home/userPubishQS">发布的问卷</a></dd>
        <dd><a href="/home/fillInQS">填写的问卷</a></dd>
      </dl>
    </li>
    <li class="layui-nav-item">
      <a href="/home/personalDetails"><img src="/statics/img/userHeadPortrait.jpg" class="layui-nav-img">{{username}}</a>
      <dl class="layui-nav-child">
        <dd><a href="/home/updatePwd">修改密码</a></dd>
        <dd><a href="javascript:;" onclick="logOff()">注销</a></dd>
      </dl>
    </li>
    <li class="layui-nav-item"><a href="/home/inRegardToXiaoPang">关于小胖</a></li>
  </ul>

  <div id="container">

    <div class="row" style="margin-right: 0px;">
      <!-- 左布局 -->
      <div class="col">
          
        <!-- 网页logo -->
        <img src="/statics/img/logo.gif" alt="" ondragend="return false" style="width: 5rem; height: 7rem;">
        
      </div>

      <!-- 中间布局 -->
      <div class="col">
        <fieldset class="layui-border-red">
          <legend>关于小胖</legend>
          <div class="layui-field-box">
            小胖是很喜欢代码的
          </div>
        </fieldset>

        <fieldset class="layui-border-orange">
          <legend>小胖的调查问卷网页：</legend>
          <div class="layui-field-box">
            qs.xiaopangbupang.top
          </div>
        </fieldset>

        <fieldset class="layui-border-green">
          <legend>小胖的说说网页：</legend>
          <div class="layui-field-box">
            app.xiaopangbupang.top
          </div>
        </fieldset>



      </div>

      <!-- 右布局 -->
      <div class="col">

      </div>
      </div>
      </div>



      <script src="/statics/js/jquery-3.6.0.min.js"></script>
      <!-- axios -->
      <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>

      <script src="/statics/js/bootstrap.min.js"></script>
      <script src="/statics/js/SpiderWeb.js"></script>
      <script src="../layui/layui.js"></script>
      <script>
        layui.use(['layer', 'form'], function () {
          var layer = layui.layer
            , form = layui.form;
          var element = layui.element;
        });
      </script>

      <script>
        // 个人信息按钮
        function personalDetails() {
          window.location.href = "/home/personalDetails"
        }

        // 创建调查问卷按钮
        function createQS() {
          window.location.href = "/home/publishQS"
        }

        // 注销按钮点击事件
        function logOff() {
          axios({
            method: 'post',
            url: '/logout'
          }).then(function (response) {
            // axios工具下，服务器真正返回的数据在返回对象的data中
            var res = response.data;
            if (res.code === 200) {
              window.location.href = '/';
            }
          })
        }
      </script>

      <!-- 鼠标点击特效  -->
      <!-- <script type="text/javascript">
        var a_idx = 0;
        jQuery(document).ready(function ($) {
          $("body").click(function (e) {
            var a = new Array("(⌒▽⌒)", "(=・ω・=)", "(ﾟДﾟ≡ﾟдﾟ)!?", "Σ( ￣□￣||)", "(▔□▔)/", "Σ(ﾟдﾟ;)", "(^・ω・^ )", "（￣へ￣）", "(￣ε(#￣) Σ", "ヽ(`Д´)ﾉ", "(╯°口°)╯┴—┴", "🍕", "🍔", "🌭", "🥞", "🍳", "🍞", "🥐", "🍠", "🥙", "🍤", "🥩", "🍖", "🥂", "🥗", "🧀", "🍱", "🍝", "🐷", "❤", "🤣", "💕", "💖", "🌹", "💋", "🎂", "🎉", "🎃", "🎈", "🎀", "🎊", "🚗", "🎄", "❤", "💕", "💞", "💓", "💗", "💖", "💘", "💝", "💟", "💌", "🍟", "🍗", "🍿", "江呆呆是个憨憨💕💟💌");
            var $i = $("<span></span>").text(a[a_idx]);
            a_idx = (a_idx + 1) % a.length;
            var x = e.pageX,
              y = e.pageY;
            $i.css({
              "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
              "top": y - 20,
              "left": x,
              "position": "absolute",
              "font-weight": "bold",
              "color": "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
            });
            $("body").append($i);
            $i.animate({
              "top": y - 180,
              "opacity": 0
            },
              1500,
              function () {
                $i.remove();
              });
          });
        });
      </script> -->

</body>


</html>